import zhHans from 'vuetify/lib/locale/zh-Hans'
import { cnFormConfig } from './formConfigTranslate'
import { cnCommonField } from './commonField'
import { cnValidateInfo } from './validateInfo'
import { cnBtnTitle } from './btnTitle'
import { cnI18nField } from './i18n'
import moduleTranslate from './viewsModules/cn/index'

export default {
  $vuetify: {
    ...zhHans,
    // dataIterator: {
    //   rowsPerPageText: 'Element per sida:',
    //   pageText: '{0}-{1} av {2}'
    // },
    router: {
      sys: {
        system: '系统管理',
        auth: '权限管理',
        config: '配置项管理'
      }
    },
    dashboard: {
      login: '登录',
      register: '注册'
    },
    validate: cnValidateInfo,
    common: cnCommonField,
    formConfig: cnFormConfig,
    btn: cnBtnTitle,
    i18: cnI18nField,
    views: moduleTranslate
  }
}
